.PHONY:all
all:calserver calclient
calserver:ServerMain.cc
	g++ -o $@ $^ -std=c++14 -ljsoncpp -lpthread
calclient:ClientMain.cc
	g++ -o $@ $^ -std=c++14 -ljsoncpp -lpthread

.PHONY:clean
clean:
	rm -rf calserver calclient